package com.tangruojie.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum Gender {

    FEMALE(0, "女"),
    MALE(1, "男"),
    OTHER(2, "未知");

    @EnumValue
    private final Integer value;
    @JsonValue
    private final String description;

}
